function sign() {
	var name = $('#floatingInput').val();
	var password = $('#floatingPassword').val();
	console.log(name);
	console.log(password);
	
	$.ajax({
	                type:'POST',
	                url:'http://127.0.0.1:8000/sign',
	                data:{"name":name,"password":password},
	                dataType:"json",
	                success:function(data){
	                   var code = data.code;
					   if(code == "0000"){
							location.href="/student-web/cheatsheet/index.html";   
					   }else{
						   alert("登录信息有误,请检查账号或密码")
					   }
	                }
	            })
}